A group in a grouping view.

Namespace:  C1.LiveLinq.LiveViews
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
[DebuggerDisplayAttribute("\{ Count= {Count}, Key= {Key} \}")]
public sealed class GroupView<TKey, TElement> : View<TElement>, 
	IGrouping<TKey, TElement>, IEnumerable<TElement>, IEnumerable
Visual Basic
<DebuggerDisplayAttribute("\{ Count= {Count}, Key= {Key} \}")> _
Public NotInheritable Class GroupView(Of TKey, TElement) _
	Inherits View(Of TElement) _
	Implements IGrouping(Of TKey, TElement), IEnumerable(Of TElement),  _
	IEnumerable

Type Parameters

TKey
The type of the key used for grouping.
TElement
The type of the elements in the group view.

Remarks

A grouping view is a result of a GroupBy operation on a live view. It is a collection of groups. Each group contains elements with the same key. That collection is a live view, and every group in itself is a live view, an object of type GroupView<TKey, TElement>.

Inheritance Hierarchy

System..::..Object
  C1.LiveLinq.LiveViews..::..View
    C1.LiveLinq.LiveViews..::..View<(Of <(<'TElement>)>)>
      C1.LiveLinq.LiveViews..::..GroupView<(Of <(<'TKey, TElement>)>)>

See Also